Index Parent

String class


The String class is used to create simple string gadget or very big text input object.

If you want scroll bars around the string object, use the TextInputScroll class. It has the same attributes and methods of String class.

String is a subclass of TextInput.mcc, so you must have TextInput.mcc in MUI:Libs/MUI to use it. TextInput.mcc is copyright of Oliver Wagner.

See String() MakeObj()

 

ATTRIBUTES
Name Type Class Note
Accept S ISGN  
Acknowledge B GN  
AdvanceOnCR B ISGN  
AutoExpand N ISGN  
AlwaysNotifyNC B ISGN Both NewContents and Integer (if IsNumeric is 1) are notified on Acknowledge if and only if its value changed (actual value is different from previous one). Setting to attribute to 1 makes String class to notify NewContents and Integer anytime.
BlinkRate N ISGN  
BookMark1 N ISGN  
BookMark2 N ISGN  
BookMark3 N ISGN  
Changed B GN  
Contents S ISGN  
CursorPos N SGN  
CursorStyle N ISGN  
DefPopUp B I  
Editable B ISGN  
Format M ISGN G2N A numer or one of:
  • Left
  • Center
  • Right
Integer N ISGN Note that it has sense expecially if IsNumeric is 1.
IsNumeric B ISGN Setting this attribute, you get a numeric string object.
IsOld B ISGN  
Lines N GN  
MarkEnd N ISGN  
MarkStart N ISGN  
MaxLen N IG  
MaxLine N IG  
MaxVal N ISGN  
MinimumWidth N ISGN  
MinVal N ISGN  
MultiLine B IG  
NewContents S GN It is notified on Acknowledge
NoCopy N ISGN  
NoInput B IG  
Preparse S ISGN  
ProhibitParse N ISGN  
Quiet B SGN  
Reject S ISGN  
RemainActive B ISGN  
Secret B ISGN  
SetMax B ISGN  
SetMin B ISGN  
SetVMax B ISGN  
SetVMin B ISGN  
StringFont M ISGN G2N A number or one of:
  • Normal
  • Fixed
Styles M ISGN G2N A numer or one of:
  • None
  • MUI
  • IRC
  • EMail
  • HTML
SuggestParse N ISGN  
TabLen N ISGN  
Tabs M ISGN G2N A number or one of:
  • Ignore
  • Spaces
  • Disk
TopLine N ISGN  
UseWinBorder B I TextInputScroll only
VertScrollerOnly B I TextInputScroll only
WordWrap B ISGN  

 

METHODS
Name Parameters Note
AppendText <text> In this version text must be <= 64 char long
Blink    
DoBottom    
DoBS    
DoBSSOL    
DoBSWord    
DoCopy    
DoCut    
DoCutLine    
DoDecrementDec    
DoDel    
DoDelEOL    
DoDelWord    
DoDown    
DoGotoBookmark1    
DoGotoBookmark2    
DoGotoBookmark3    
DoIncrementDec    
DoInsertFile <file> In this version file must be <= 64 char long
DoLeft    
DoLineEnd    
DoLineStart    
DoMarkAll    
DoMarkStart    
DoNextGadget    
DoNextWord    
DoPageDown    
DoPageUp    
DoPaste    
DoPopUp    
DoPrevWord    
DoRedo    
DoReVert    
DoRight    
DoSetBookmark1    
DoSetBookmark2    
DoSetBookmark3    
DoTab    
DoToggleCase    
DoToggleCaseEow    
DoTop    
DoUndo    
DoUp    
ExternalEdit    
InsertFromFile <file> In this version file must be <= 64 char long
InsertText <text> In this version text must be <= 64 char long
LoadFromFile <file> In this version file must be <= 64 char long
SaveToFile <file> In this version file must be <= 64 char long